<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Admin API Configuration
    |--------------------------------------------------------------------------
    |
    | Here you may configure your settings for the admin API package.
    |
    */
    'title' => '管理系统',

    'route' => [
        'prefix' => 'admin-api',
        'middleware' => ['api'],
    ],

    'auth' => [
        'guard' => 'admin',

        'guards' => [
            'admin' => [
                'driver' => 'session',
                'provider' => 'admins',
            ],
        ],
        'providers' => [
            'admins' => [
                'driver' => 'eloquent',
                'model' => env('ADMIN_AUTH_MODEL', Ruixs\AdminApi\Models\Admin::class),
            ],
        ],
    ]
];